package com.pl.lc.user.controller;


import com.pl.lc.common.vo.R;
import com.pl.lc.user.service.PayLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 10.支付记录表 前端控制器
 * </p>
 *
 * @author pl
 * @since 2024-06-12
 */
@RestController
@RequestMapping("/pay")
public class PayLogController {

    @Autowired
    private PayLogService payLogService;

    @RequestMapping("/alipay/cb")
    public R callBack(@RequestParam("out_trade_no") String no) {
        return payLogService.callBack(no);

    }
}

